﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ESRI.ArcGIS.Carto;

namespace EAGL.Display.Rendering
{
    public abstract class Renderer
    {
        protected string label;
        protected string description;
        protected IFeatureRenderer renderer;
        protected abstract void createRenderer();

        public string Label
        {
            get { return label; }
            set { label = value; }
        }

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        public IFeatureRenderer EsriRenderer
        {
            get 
            {
                createRenderer();
                return renderer; 
            }
            set { renderer = value; }
        }


    }
}
